<body>
<script>
if (window.testRunner) {
  testRunner.waitUntilDone();
  testRunner.dumpAsText();
}

function detachIframe() {
  document.getElementById("i").remove();
}
</script>
<iframe id="i" src="resources/iframe-that-navigates-parent-then-detaches.html">
</iframe>
</body>
